package com.mysteel.cyx.demo.baomidou.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.mysteel.cyx.demo.baomidou.enums.SexEnum;
import lombok.Data;

@Data
@TableName("user")
public class User {
    private Long id;
    private String name;
    private Integer age;
    private String email;

    @TableLogic
    @TableField("is_deleted")
    private Integer deleted;


    private SexEnum sex;



}
